home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr22
/
forall.zip
/
FILE_ID.DIZ
next >
Wrap
Text File
|
1993-05-01
|
778b
|
12 lines
ForAll - a DOS utility for executing a command on a group of files.
This is a small utility program which simplifies operations on multiple
files. In combination with the DOS 'dir' command, it can be a very
powerful tool for automating repetitive tasks. For example, let's say
you want to delete all the '.obj' files your favorite compiler has left
lying around. The DOS command line 'dir /s/b *.obj > objfiles.lst' will
create a file called 'objfiles.lst', which has a brief listing, recursed
through all subdirectories under the current directory, of all the object
files. You can then 'type' this file, and if it doesn't have anything
you want to keep, just say 'FORALL OBJFILES.LST DEL' and this utility
will call the DOS delete command on the named files.